package com.irs.service.impl;

import com.irs.mapper.BuildingHouseMapper;
import com.irs.pojo.BuildingHouse;
import com.irs.service.BuildingHouseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BuildingHouseServiceImpl implements BuildingHouseService{

    @Resource
    private BuildingHouseMapper buildingHouseDao;

    public int insert(BuildingHouse pojo){
        return buildingHouseDao.insert(pojo);
    }

    public int insertList(List< BuildingHouse> pojos){
        return buildingHouseDao.insertList(pojos);
    }

    public List<BuildingHouse> select(BuildingHouse pojo){
        return buildingHouseDao.select(pojo);
    }

    public int update(BuildingHouse pojo){
        return buildingHouseDao.update(pojo);
    }

}
